package com.iori.common.db.dbctrl;

import java.util.List;

/**
 * [クラス名]<br>
 * SQLファイルローダー<br>
 * <br>
 * [機能概要]<br>
 * sql element modle<br>
 * <br>
 * [変更履歴]<br>
 * 2007/11/12 ver1.00 新規作成 Liuww<br>
 * <br>
 * 
 * @author Liuww
 * @version 1.00
 */
public class SqlElementModel {
	
	//「：」号类型
	public final static int TYPE_NORMAL = 1;
	
	//「{}」号类型
	public final static int TYPE_IGETA = 2;
	
	//「#」号类型
	public final static int TYPE_NAKAKAKKO = 3;
	
	private int type = 1;
	
	//conditionName
	private String conditionName = null;
	
	//sql content
	private String sqlContent = null;

	//sql para names
	private List sqlParaName = null;
	
	//sql elements object
	private List sqlElements = null;
	
	public String getConditionName() {
		return conditionName;
	}

	public void setConditionName(String conditionName) {
		this.conditionName = conditionName;
	}

	public String getSqlContent() {
		return sqlContent;
	}

	public void setSqlContent(String sqlContent) {
		this.sqlContent = sqlContent;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	protected List getSqlParaName() {
		return sqlParaName;
	}

	protected void setSqlParaName(List sqlParaName) {
		this.sqlParaName = sqlParaName;
	}

	protected List getSqlElements() {
		return sqlElements;
	}

	protected void setSqlElements(List sqlElements) {
		this.sqlElements = sqlElements;
	}
}
